SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58c496dff911b1ab337686536f6a0497ffa3471ec8b05a0f4002259dd85c4a44' 
  AND token = 'q6Fqn3YvPYN5EITCqR3t06SKzrC/TYh6WsRCGIN/Vic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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