SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af083f4840066188e2ade60e9a932e78e1c2756166d8c07936c36b975872ca1c' 
  AND token = 'kmrkjoMS855CyAuTy5JagTodrvCU8SvRIjod5fPeVQI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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