SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a2ea2c0e92d79c10e661329581df2052654e93c176a4bd97494b16d786bf3c6' 
  AND token = 'BKb1tI07M/Qj3Jd5riHo4Jal+flarnqyVjsUZPQtjt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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