SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad2db85698d0a68e7c3188fc7f34287ee0fe9b8f0de7571b73d086b5845ed9b7' 
  AND token = 'iWArtgjPXoKuyPpPS3z5jgoSV25x7eBkHAxp+GcbLbQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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