SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce9fc2a464202f8b3a25ff038a19e47f5e1bc177cb386b3db3c43127639bbf7f' 
  AND token = 'ca8wR7S7eclEvAyU5oIn0Ws00imoPhAodFxjyClAQRY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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