SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cc336b3065780fe0981e5f190a212bb90773053b404b5f5bb0aca5a5cf9f0d7' 
  AND token = 'YxirFhRuD1ck75gHLZc4ax6ZsyOFGTdXhHsci4ghSX0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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