SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5298fa04a349f9173280e8cd360459fa431cf5f5d6c80e5b81a2a68313354683' 
  AND token = 'zaiWJqqjh0NQ3peAJRq+ETnkj7Yq6Zkgw7Z9dVF1tcI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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