SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6171116769e721d3903e4e22757468964504d12bd34e1744459b966cdc2d1358' 
  AND token = 'EnYfOqTG7shSAi4wyJ3G3A99neVppeP+G6pZidqkuig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}