SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5998937cf13931d838a0a8a74b1a2a9801f89bfb70521c19da8a7bf244cfebce' 
  AND token = 'Cusoj0J5ZHNglP3qUq7JEjcF4a6BNY8UvJTvrD0il9U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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