SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3236864c6db8d959625e7f699cf6d278f5970a3856638556d7064e3af1d47864' 
  AND token = 'V0Yy9yQ2jEwMoNTPCOd0P8vutywm3KOUkfsUhhQMk1k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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