SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '142b778035c114db2c2bb4eed9e5bf7d376de81398c2f6213e3fc3b4ec893430' 
  AND token = 'oTA7Nuyux9WDJVCLocUsWzlDg4eKDc8QeI6JrEiXuZk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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