SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87e12838f2327eded0374f7ca98aff7d865f8faae721a34ca6d4c64657b60f17' 
  AND token = '7/aDjGZah3a6RnxuSNplYL1ay1I5Ur3XrVtmXqR2NTU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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