SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd507693e181f4aaeefd4596d42fc1a9ee534a0af017d7da050928c7299d2235b' 
  AND token = 'm7PZcS7q0H2ujWb5R+0WSSdP9umdx+NqlbGobToqdcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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