SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '717a694ece2a244546f6cac78e60951c734f6ecdb0f59846a907ee764975fa6e' 
  AND token = 'vYer2EQDc/kWWbmFIj0f/sbkGWeB/jOOt/WLxlHAf8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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