SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b2e52e4e954795fc71d3061559022a457b4d7f882efc718243fa4d2a480fdb0' 
  AND token = '0aP+3iVpW+LROwjJg+Lxe05cmdPwvW5U4RO5x32aabc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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