SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7018f4fa64de30b9456ff02d070b987ee3e6f2395d35a894d93e10ef2f480666' 
  AND token = 'dLyDHJ9TAEgh541qTmKBEGh3NHXS8rrtDOzOeU2i3XU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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