SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd38aa2d8c600f8edcf27ad707d7379ae682f42aa990238cc419971ca1dc0bda5' 
  AND token = 'SlL267vEndIdfNqvCRG2997SiYYxzaQVahaFuV/1gco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00012

JSON explain

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