SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4514f9667655919b6ff25293b5b299f4eabc62c2051a090f2d359880b7cd320' 
  AND token = '3dgALUHucWwTr6uQIOvFHxbJR6exqxckEbW6IsZYqGI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00072

JSON explain

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