SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0eb57076d037b92004b3d3f6bb5bdc4e93ad4422420c5b580e8881de58b897c' 
  AND token = '8uo8nXCyTGPGtqKKX7VrFxpP7jRIi1CJTX48x7iqX/A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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