SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef7a14805d632e9a533e8bcf6c745b03d6bc42f0269030cb482665374fd98fe9' 
  AND token = 'Y1bitVjWafmDl+l588oVK2DNCe8qMeIWnSCOMe0CwwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}