SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '262461aa3385e2a67e1622e070930a654090b78b671a891e33cce689141cc6c1' 
  AND token = 'rP1FbYAdFlRbBTg7k9RFYAMQZIPS/t7yxWixfUBbeFc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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