SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7bb0031ac849cc708836cc2343e9c0c812848d4ceaaebaf7f4b91193df21ae7' 
  AND token = 'I4Ey+FOLKlFeUUmMTGS5YmffsWXj1GDXVfF0Pwk4/5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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