SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1005ed9f773959770b77969adc8d3311e8c7892f12eeba603642ae24e8031a4c' 
  AND token = 'k4qRS18LAhswW14KU332NLDCyhI0Xqyb/9acMR+2HNM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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