SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a0a1f4ca8e6608bb9337368d091f0db0b8d442f556d67054b2c56d56e142782' 
  AND token = 'QdG2SVogjj0IxnfIC/PJ2KvoHg8kfPvdNQvUm3Ilk7Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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