SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21c343ec830b27e40e626399e0fe2a8e010d34d74496afdb713addcc161d809e' 
  AND token = 'Oe69OOqbjwPH3U27rmOLXOxieYcyFbbBZ93tVzOXgro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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