SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '166e1e7e7edd079699fc3c229f90034f975233cecdd9b3c36d3392ae8bda923a' 
  AND token = 'S6B7FjNIsgZMwCuufXjPAcwLYFCLtKCDrO08AG7yKVg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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