SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a45ba08b72d0c7b5ce5ea70d4d6f9743caee330a6b897049357d2efefaa476af' 
  AND token = 'pGdGB8c5iDX61kavtszVrXoY/m0FQ0wYRhYsLCOmPys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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