SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a34e6a9b6cc6e91903f0a478ef754034f35faa9412dff56842362a81b01f9b24' 
  AND token = 'Ebc2degl/3acBIrx3uekIDmNi2aX5pAMtCMGHHPSvsY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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