SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ac1db8f7f34134f5d72ce8e8758d2b89247ff490a9c854ddd0bc64c48e685de' 
  AND token = 'RyLgsUA8A9Ev+y6ohdrtaan0QN8f+ZJ5DICshaPrxpM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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