SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d9134f712433254cc2bcef22ebdaa6b0942068dec8e1d8c3bea4de99dc4fd13' 
  AND token = 'AYD2Sgc2jiCn4/8f9jkzKeHkTkK2XKs+7/oSvCXpojo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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