SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d6c2b7c42ce17ecb882821b3fd3373537ca747b0ddb69742e9ac35d34e1d72c' 
  AND token = 'R5RdTFhjv1CWoERypICgqtJOMGdx4Gl1EkLWU27moHo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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