SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '298b051787a3800665e5e5056f9406dd7af657a183e61ab7d909ce6614858818' 
  AND token = 'yrzqW1F6tm6r94WUz0Y9fRtzjkoctBERWeTzgtRf7lE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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