SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f61f108c7bf402d8c88362f49aaa3a6f26bbd66b96542aba45a62fa11dc2417' 
  AND token = 'XbLLIHuLoMyxd9Ub4yUK9qnRIyCronjjwQGun4jDqBo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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